﻿<%@ page language="C#" masterpagefile="Manage.master" autoeventwireup="true" inherits="Third_Manage_Distribution, App_Web_x1yzsqrv" title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolderManage" Runat="Server">
<div class="titlePageManage">为每个应用输入被使用次数</div>


<div>
<form runat="server" class="formMarginManage">
    <asp:DataList ID="DataList1" runat="server"  CssClass="tableMarginManage"
        onitemcommand="DataList1_ItemCommand" 
        onupdatecommand="DataList1_UpdateCommand" DataKeyField="o_id">
        <HeaderTemplate>
                <span class="titleTable">用户名</span></td>
            <td><span class="titleTable">应用名称</span></td>
            <td><span class="titleTable">订制时间</span></td>
            <td><span class="titleTable">应用唯一标识</span></td>
            <td><span class="titleTable">被使用率</span></td>
            <td><span class="titleTable">更新被使用率</span></td>
            <td><span class="titleTable">确定更新</span>
        </HeaderTemplate>
        <ItemTemplate>
            <asp:HiddenField ID="hideuid" Value='<%# Eval("u_id") %>' runat="server" />
            <asp:Label ID="lblusername" Text='<%# Eval("u_username")%>' runat="server"></asp:Label>
            </td>
            <td>
            <asp:HiddenField ID="hidesid" Value='<%# Eval("s_id") %>' runat="server" />
            <asp:Label ID="lblname" Text='<%# Eval("s_name")%>' runat="server"></asp:Label>
            </td>
            <td><asp:Label ID="lbltime" Text='<%# Eval("o_time","{0:d}")%>' runat="server"></asp:Label></td>
            <td><asp:Label ID="lblunique" Text='<%# Eval("o_unique")%>' runat="server"></asp:Label></td>
            <td><asp:Label ID="lblcount" Text='<%# Eval("o_count")%>' runat="server"></asp:Label></td>
            <td>
            <asp:TextBox ID="count" runat="server" CssClass="textboxbeauty" Width="120px"></asp:TextBox>
            </td>
            <td><asp:LinkButton ID="ok" CommandName="update" Text="更新" runat="server"></asp:LinkButton>
        </ItemTemplate>
        <EditItemTemplate>
            <asp:TextBox ID="count" runat="server"></asp:TextBox>
        </EditItemTemplate>
    </asp:DataList>


    <div>
            当前：第<asp:Label ID="lblCurrentPage" runat="server" Text="1"></asp:Label>页
                <asp:LinkButton ID="lblFirstPage" runat="server" Text="首页" OnClick="lblFirstPage_Click"></asp:LinkButton>
                <asp:LinkButton ID="lblFrontPage" runat="server" Text="上一页" OnClick="lblFrontPage_Click"></asp:LinkButton>
                <asp:LinkButton ID="lblNextPage" runat="server" Text="下一页" OnClick="lblNextPage_Click"></asp:LinkButton>
                <asp:LinkButton ID="lblLastPage" runat="server" Text="末页" OnClick="lblLastPage_Click"></asp:LinkButton>
                总共<asp:Label ID="lblTotalPage" runat="server" ></asp:Label>页
    </div>
</form>
</div>
</asp:Content>

